﻿<?xml version="1.0" encoding="utf-8" ?>
<Job Identifier="StableSortDemo" DateModified="2011-11-19" TimeModified="13.16.20">
  <Record Identifier="ROOT" Type="JobDefn" Readonly="0">
    <Property Name="Name">StableSortDemo</Property>
    <Property Name="NextID">1</Property>
    <Property Name="Container">V0</Property>
    <Property Name="JobVersion">56.0.0</Property>
    <Property Name="ControlAfterSubr">0</Property>
    <Collection Name="MetaBag" Type="MetaProperty">
      <SubRecord>
        <Property Name="Owner">APT</Property>
        <Property Name="Name">AdvancedRuntimeOptions</Property>
        <Property Name="Value">#DSProjectARTOptions#</Property>
      </SubRecord>
      <SubRecord>
        <Property Name="Owner">APT</Property>
        <Property Name="Name">IdentList</Property>
        <Property Name="Value">pk_Output|rg_Input|Sort</Property>
      </SubRecord>
      <SubRecord>
        <Property Name="Owner">APT</Property>
        <Property Name="Name">ClientCodePage</Property>
        <Property Name="Value">1251</Property>
      </SubRecord>
    </Collection>
    <Property Name="NULLIndicatorPosition">0</Property>
    <Property Name="OrchestrateCode" PreFormatted="1">
      #################################################################
      #### STAGE: pk_Output
      ## Operator
      peek
      ## Operator options
      -nrecs 10
      -name

      ## General options
      [ident(&apos;pk_Output&apos;); jobmon_ident(&apos;pk_Output&apos;)]
      ## Inputs
      0&lt; [] &apos;Sort:out.v&apos;
      ;

      #################################################################
      #### STAGE: rg_Input
      ## Operator
      generator
      ## Operator options
      -schema record
      (
      Col1:int32;
      Col2:int32;
      )
      -records 10

      ## General options
      [ident(&apos;rg_Input&apos;); jobmon_ident(&apos;rg_Input&apos;)]
      ## Outputs
      0&gt; [] &apos;rg_Input:in.v&apos;
      ;

      #################################################################
      #### STAGE: Sort
      ## Operator
      tsort
      ## Operator options
      -stable
      -key &apos;Col1&apos;
      -asc

      ## General options
      [ident(&apos;Sort&apos;); jobmon_ident(&apos;Sort&apos;)]
      ## Inputs
      0&lt; [] &apos;rg_Input:in.v&apos;
      ## Outputs
      0&gt; [modify (
      keep
      Col1,Col2;
      )] &apos;Sort:out.v&apos;
      ;

    </Property>
    <Property Name="IsTemplate">0</Property>
    <Property Name="JobType">3</Property>
    <Property Name="Category">\Jobs</Property>
    <Property Name="CenturyBreakYear">30</Property>
    <Property Name="NextAliasID">2</Property>
    <Property Name="ParameterFileDDName">DD00001</Property>
    <Property Name="ReservedWordCheck">1</Property>
    <Property Name="TransactionSize">0</Property>
    <Property Name="ValidationStatus">0</Property>
    <Property Name="Uploadable">0</Property>
    <Property Name="PgmCustomizationFlag">0</Property>
    <Property Name="JobReportFlag">0</Property>
    <Property Name="AllowMultipleInvocations">0</Property>
    <Property Name="Act2ActOverideDefaults">0</Property>
    <Property Name="Act2ActEnableRowBuffer">0</Property>
    <Property Name="Act2ActUseIPC">0</Property>
    <Property Name="Act2ActBufferSize">0</Property>
    <Property Name="Act2ActIPCTimeout">0</Property>
    <Property Name="ExpressionSemanticCheckFlag">0</Property>
    <Property Name="TraceOption">0</Property>
    <Property Name="EnableCacheSharing">0</Property>
    <Property Name="RuntimeColumnPropagation">0</Property>
    <Property Name="RelStagesInJobStatus">-1</Property>
    <Property Name="WebServiceEnabled">0</Property>
    <Property Name="MFProcessMetaData">0</Property>
    <Property Name="MFProcessMetaDataXMLFileExchangeMethod">0</Property>
    <Property Name="IMSProgType">0</Property>
    <Property Name="CopyLibPrefix">ARDT</Property>
    <Property Name="RecordPerformanceResults">0</Property>
  </Record>
  <Record Identifier="V0" Type="ContainerView" Readonly="0">
    <Property Name="Name">Job</Property>
    <Property Name="NextID">1</Property>
    <Property Name="IsTopLevel">0</Property>
    <Property Name="StageList">V0S0|V0S1|V0S2</Property>
    <Property Name="StageXPos">528|120|312</Property>
    <Property Name="StageYPos">168|168|168</Property>
    <Property Name="StageTypes">CCustomStage|CCustomStage|CCustomStage</Property>
    <Property Name="NextStageID">5</Property>
    <Property Name="SnapToGrid">1</Property>
    <Property Name="GridLines">0</Property>
    <Property Name="ZoomValue">100</Property>
    <Property Name="StageXSize">48|48|48</Property>
    <Property Name="StageYSize">48|48|48</Property>
    <Property Name="ContainerViewSizing">0025 0025 0536 0615 0000 0001 0000 0000</Property>
    <Property Name="StageNames">pk_Output|rg_Input|Sort</Property>
    <Property Name="StageTypeIDs">PxPeek|PxRowGenerator|PxSort</Property>
    <Property Name="LinkNames">\(20)|in|out</Property>
    <Property Name="LinkHasMetaDatas">\(20)|True|True</Property>
    <Property Name="LinkTypes">\(20)|1|1</Property>
    <Property Name="LinkNamePositionXs">\(20)|223|428</Property>
    <Property Name="LinkNamePositionYs">\(20)|192|192</Property>
    <Property Name="TargetStageIDs">\(20)|V0S2|V0S0</Property>
    <Property Name="SourceStageEffectiveExecutionModes">\(20)|1|2</Property>
    <Property Name="SourceStageRuntimeExecutionModes">\(20)|1|2</Property>
    <Property Name="TargetStageEffectiveExecutionModes">\(20)|2|2</Property>
    <Property Name="TargetStageRuntimeExecutionModes">\(20)|2|2</Property>
    <Property Name="LinkIsSingleOperatorLookup">\(20)|False|False</Property>
    <Property Name="LinkIsSortSequential">\(20)|False|False</Property>
    <Property Name="LinkSortMode">\(20)|0|0</Property>
    <Property Name="LinkPartColMode">\(20)|1|1</Property>
    <Property Name="LinkSourcePinIDs">\(20)|V0S1P1|V0S2P2</Property>
  </Record>
  <Record Identifier="V0S0P1" Type="CustomInput" Readonly="0">
    <Property Name="Name">out</Property>
    <Property Name="Partner">V0S2|V0S2P2</Property>
    <Property Name="LinkType">1</Property>
    <Collection Name="MetaBag" Type="MetaProperty">
      <SubRecord>
        <Property Name="Owner">APT</Property>
        <Property Name="Name">RTColumnProp</Property>
        <Property Name="Value">0</Property>
      </SubRecord>
    </Collection>
    <Property Name="TransactionSize">0</Property>
    <Property Name="TXNBehaviour">0</Property>
    <Property Name="EnableTxGroup">0</Property>
    <Property Name="LinkMinimised">0</Property>
  </Record>
  <Record Identifier="V0S1P1" Type="CustomOutput" Readonly="0">
    <Property Name="Name">in</Property>
    <Property Name="Partner">V0S2|V0S2P1</Property>
    <Collection Name="Properties" Type="CustomProperty">
      <SubRecord>
        <Property Name="Name">schema</Property>
      </SubRecord>
      <SubRecord>
        <Property Name="Name">records</Property>
        <Property Name="Value">10</Property>
      </SubRecord>
    </Collection>
    <Collection Name="Columns" Type="OutputColumn">
      <SubRecord>
        <Property Name="Name">Col1</Property>
        <Property Name="SqlType">4</Property>
        <Property Name="Precision">0</Property>
        <Property Name="Scale">0</Property>
        <Property Name="Nullable">0</Property>
        <Property Name="KeyPosition">0</Property>
        <Property Name="DisplaySize">0</Property>
        <Property Name="Group">0</Property>
        <Property Name="SortKey">0</Property>
        <Property Name="SortType">0</Property>
        <Property Name="AllowCRLF">0</Property>
        <Property Name="LevelNo">0</Property>
        <Property Name="Occurs">0</Property>
        <Property Name="PadNulls">0</Property>
        <Property Name="SignOption">0</Property>
        <Property Name="SortingOrder">0</Property>
        <Property Name="ArrayHandling">0</Property>
        <Property Name="SyncIndicator">0</Property>
        <Property Name="PadChar"/>
        <Property Name="ExtendedPrecision">0</Property>
        <Property Name="TaggedSubrec">0</Property>
        <Property Name="OccursVarying">0</Property>
        <Property Name="PKeyIsCaseless">0</Property>
        <Property Name="SCDPurpose">0</Property>
      </SubRecord>
      <SubRecord>
        <Property Name="Name">Col2</Property>
        <Property Name="SqlType">4</Property>
        <Property Name="Precision">0</Property>
        <Property Name="Scale">0</Property>
        <Property Name="Nullable">0</Property>
        <Property Name="KeyPosition">0</Property>
        <Property Name="DisplaySize">0</Property>
        <Property Name="Group">0</Property>
        <Property Name="SortKey">0</Property>
        <Property Name="SortType">0</Property>
        <Property Name="AllowCRLF">0</Property>
        <Property Name="LevelNo">0</Property>
        <Property Name="Occurs">0</Property>
        <Property Name="PadNulls">0</Property>
        <Property Name="SignOption">0</Property>
        <Property Name="SortingOrder">0</Property>
        <Property Name="ArrayHandling">0</Property>
        <Property Name="SyncIndicator">0</Property>
        <Property Name="PadChar"/>
        <Property Name="ExtendedPrecision">0</Property>
        <Property Name="TaggedSubrec">0</Property>
        <Property Name="OccursVarying">0</Property>
        <Property Name="PKeyIsCaseless">0</Property>
        <Property Name="SCDPurpose">0</Property>
      </SubRecord>
    </Collection>
    <Collection Name="MetaBag" Type="MetaProperty">
      <SubRecord>
        <Property Name="Owner">APT</Property>
        <Property Name="Name">DiskWriteInc</Property>
        <Property Name="Value">1048576</Property>
      </SubRecord>
      <SubRecord>
        <Property Name="Owner">APT</Property>
        <Property Name="Name">BufFreeRun</Property>
        <Property Name="Value">50</Property>
      </SubRecord>
      <SubRecord>
        <Property Name="Owner">APT</Property>
        <Property Name="Name">MaxMemBufSize</Property>
        <Property Name="Value">3145728</Property>
      </SubRecord>
      <SubRecord>
        <Property Name="Owner">APT</Property>
        <Property Name="Name">QueueUpperSize</Property>
        <Property Name="Value">0</Property>
      </SubRecord>
    </Collection>
    <Property Name="LeftTextPos">223</Property>
    <Property Name="TopTextPos">192</Property>
    <Property Name="LinkMinimised">0</Property>
  </Record>
  <Record Identifier="V0S2P1" Type="CustomInput" Readonly="0">
    <Property Name="Name">in</Property>
    <Property Name="Partner">V0S1|V0S1P1</Property>
    <Property Name="LinkType">1</Property>
    <Property Name="ConditionNotMet">fail</Property>
    <Property Name="LookupFail">fail</Property>
    <Collection Name="MetaBag" Type="MetaProperty">
      <SubRecord>
        <Property Name="Owner">APT</Property>
        <Property Name="Name">RTColumnProp</Property>
        <Property Name="Value">0</Property>
      </SubRecord>
    </Collection>
    <Property Name="TransactionSize">0</Property>
    <Property Name="TXNBehaviour">0</Property>
    <Property Name="EnableTxGroup">0</Property>
    <Property Name="LinkMinimised">0</Property>
  </Record>
  <Record Identifier="V0S2P2" Type="CustomOutput" Readonly="0">
    <Property Name="Name">out</Property>
    <Property Name="Partner">V0S0|V0S0P1</Property>
    <Collection Name="Columns" Type="OutputColumn">
      <SubRecord>
        <Property Name="Name">Col1</Property>
        <Property Name="SqlType">4</Property>
        <Property Name="Precision">0</Property>
        <Property Name="Scale">0</Property>
        <Property Name="Nullable">0</Property>
        <Property Name="KeyPosition">0</Property>
        <Property Name="DisplaySize">0</Property>
        <Property Name="Derivation">in.Col1</Property>
        <Property Name="Group">0</Property>
        <Property Name="ParsedDerivation">in.Col1</Property>
        <Property Name="SourceColumn">in.Col1</Property>
        <Property Name="SortKey">0</Property>
        <Property Name="SortType">0</Property>
        <Property Name="AllowCRLF">0</Property>
        <Property Name="LevelNo">0</Property>
        <Property Name="Occurs">0</Property>
        <Property Name="PadNulls">0</Property>
        <Property Name="SignOption">0</Property>
        <Property Name="SortingOrder">0</Property>
        <Property Name="ArrayHandling">0</Property>
        <Property Name="SyncIndicator">0</Property>
        <Property Name="PadChar"/>
        <Property Name="ExtendedPrecision">0</Property>
        <Property Name="TaggedSubrec">0</Property>
        <Property Name="OccursVarying">0</Property>
        <Property Name="PKeyIsCaseless">0</Property>
        <Property Name="SCDPurpose">0</Property>
      </SubRecord>
      <SubRecord>
        <Property Name="Name">Col2</Property>
        <Property Name="SqlType">4</Property>
        <Property Name="Precision">0</Property>
        <Property Name="Scale">0</Property>
        <Property Name="Nullable">0</Property>
        <Property Name="KeyPosition">0</Property>
        <Property Name="DisplaySize">0</Property>
        <Property Name="Derivation">in.Col2</Property>
        <Property Name="Group">0</Property>
        <Property Name="ParsedDerivation">in.Col2</Property>
        <Property Name="SourceColumn">in.Col2</Property>
        <Property Name="SortKey">0</Property>
        <Property Name="SortType">0</Property>
        <Property Name="AllowCRLF">0</Property>
        <Property Name="LevelNo">0</Property>
        <Property Name="Occurs">0</Property>
        <Property Name="PadNulls">0</Property>
        <Property Name="SignOption">0</Property>
        <Property Name="SortingOrder">0</Property>
        <Property Name="ArrayHandling">0</Property>
        <Property Name="SyncIndicator">0</Property>
        <Property Name="PadChar"/>
        <Property Name="ExtendedPrecision">0</Property>
        <Property Name="TaggedSubrec">0</Property>
        <Property Name="OccursVarying">0</Property>
        <Property Name="PKeyIsCaseless">0</Property>
        <Property Name="SCDPurpose">0</Property>
      </SubRecord>
    </Collection>
    <Property Name="LeftTextPos">428</Property>
    <Property Name="TopTextPos">192</Property>
    <Property Name="LinkMinimised">0</Property>
  </Record>
</Job>